package com.niiwoo.civet.mobile.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

/**
 * Created by huangmin on 2017/12/5.
 */
@Setter
@Getter
@ApiModel
public class EncryptionToDecryptRequestVO {

    @NotBlank(message = "data不能为空")
    @ApiModelProperty(value = "加解密的内容")
    private String data;

    @NotBlank(message = "type不能为空")
    @ApiModelProperty(value = "1.加密 2.解密")
    private String type;

}
